package com.ai.platform.business.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yeyingsheng
 * @since 2018-06-01
 */
@TableName("busi_db_info")
public class BusiDbInfo extends Model<BusiDbInfo> {

    private static final long serialVersionUID = 1L;

    @TableId("db_id")
    private Integer dbId;
    /**
     * 名称
     */
    @TableField("db_name")
    private String dbName;
    /**
     * 描述
     */
    @TableField("db_desc")
    private String dbDesc;
    @TableField("driver_class_name")
    private String driverClassName;
    private String url;
    private String username;
    private String password;


    public Integer getDbId() {
        return dbId;
    }

    public void setDbId(Integer dbId) {
        this.dbId = dbId;
    }

    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public String getDbDesc() {
        return dbDesc;
    }

    public void setDbDesc(String dbDesc) {
        this.dbDesc = dbDesc;
    }

    public String getDriverClassName() {
        return driverClassName;
    }

    public void setDriverClassName(String driverClassName) {
        this.driverClassName = driverClassName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    protected Serializable pkVal() {
        return this.dbId;
    }

    @Override
    public String toString() {
        return "BusiDbInfo{" +
        ", dbId=" + dbId +
        ", dbName=" + dbName +
        ", dbDesc=" + dbDesc +
        ", driverClassName=" + driverClassName +
        ", url=" + url +
        ", username=" + username +
        ", password=" + password +
        "}";
    }
}
